Optimal. Leaf size=59 \[ -\frac{2 a^2 A}{5 x^{5/2}}-\frac{2 a (a B+2 A b)}{3 x^{3/2}}-\frac{2 b (2 a B+A b)}{\sqrt{x}}+2 b^2 B \sqrt{x} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0782995, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056 \[ -\frac{2 a^2 A}{5 x^{5/2}}-\frac{2 a (a B+2 A b)}{3 x^{3/2}}-\frac{2 b (2 a B+A b)}{\sqrt{x}}+2 b^2 B \sqrt{x} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x)^2*(A + B*x))/x^(7/2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 8.95764, size = 60, normalized size = 1.02 \[ - \frac{2 A a^{2}}{5 x^{\frac{5}{2}}} + 2 B b^{2} \sqrt{x} - \frac{2 a \left (2 A b + B a\right )}{3 x^{\frac{3}{2}}} - \frac{2 b \left (A b + 2 B a\right )}{\sqrt{x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**2*(B*x+A)/x**(7/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.027899, size = 47, normalized size = 0.8 \[ -\frac{2 \left (a^2 (3 A+5 B x)+10 a b x (A+3 B x)+15 b^2 x^2 (A-B x)\right )}{15 x^{5/2}} \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x)^2*(A + B*x))/x^(7/2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 52, normalized size = 0.9 \[ -{\frac{-30\,B{b}^{2}{x}^{3}+30\,A{b}^{2}{x}^{2}+60\,B{x}^{2}ab+20\,aAbx+10\,{a}^{2}Bx+6\,{a}^{2}A}{15}{x}^{-{\frac{5}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^2*(B*x+A)/x^(7/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.38821, size = 70, normalized size = 1.19 \[ 2 \, B b^{2} \sqrt{x} - \frac{2 \,{\left (3 \, A a^{2} + 15 \,{\left (2 \, B a b + A b^{2}\right )} x^{2} + 5 \,{\left (B a^{2} + 2 \, A a b\right )} x\right )}}{15 \, x^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^2/x^(7/2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.20564, size = 69, normalized size = 1.17 \[ \frac{2 \,{\left (15 \, B b^{2} x^{3} - 3 \, A a^{2} - 15 \,{\left (2 \, B a b + A b^{2}\right )} x^{2} - 5 \,{\left (B a^{2} + 2 \, A a b\right )} x\right )}}{15 \, x^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^2/x^(7/2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 8.60836, size = 75, normalized size = 1.27 \[ - \frac{2 A a^{2}}{5 x^{\frac{5}{2}}} - \frac{4 A a b}{3 x^{\frac{3}{2}}} - \frac{2 A b^{2}}{\sqrt{x}} - \frac{2 B a^{2}}{3 x^{\frac{3}{2}}} - \frac{4 B a b}{\sqrt{x}} + 2 B b^{2} \sqrt{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**2*(B*x+A)/x**(7/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.261992, size = 70, normalized size = 1.19 \[ 2 \, B b^{2} \sqrt{x} - \frac{2 \,{\left (30 \, B a b x^{2} + 15 \, A b^{2} x^{2} + 5 \, B a^{2} x + 10 \, A a b x + 3 \, A a^{2}\right )}}{15 \, x^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^2/x^(7/2),x, algorithm="giac")
[Out]